package com.zshan.clinic.database.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DictAcupointExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public DictAcupointExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAcupointCodeIsNull() {
            addCriterion("acupoint_code is null");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeIsNotNull() {
            addCriterion("acupoint_code is not null");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeEqualTo(String value) {
            addCriterion("acupoint_code =", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeNotEqualTo(String value) {
            addCriterion("acupoint_code <>", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeGreaterThan(String value) {
            addCriterion("acupoint_code >", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeGreaterThanOrEqualTo(String value) {
            addCriterion("acupoint_code >=", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeLessThan(String value) {
            addCriterion("acupoint_code <", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeLessThanOrEqualTo(String value) {
            addCriterion("acupoint_code <=", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeLike(String value) {
            addCriterion("acupoint_code like", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeNotLike(String value) {
            addCriterion("acupoint_code not like", value, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeIn(List<String> values) {
            addCriterion("acupoint_code in", values, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeNotIn(List<String> values) {
            addCriterion("acupoint_code not in", values, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeBetween(String value1, String value2) {
            addCriterion("acupoint_code between", value1, value2, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeNotBetween(String value1, String value2) {
            addCriterion("acupoint_code not between", value1, value2, "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointTextIsNull() {
            addCriterion("acupoint_text is null");
            return (Criteria) this;
        }

        public Criteria andAcupointTextIsNotNull() {
            addCriterion("acupoint_text is not null");
            return (Criteria) this;
        }

        public Criteria andAcupointTextEqualTo(String value) {
            addCriterion("acupoint_text =", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextNotEqualTo(String value) {
            addCriterion("acupoint_text <>", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextGreaterThan(String value) {
            addCriterion("acupoint_text >", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextGreaterThanOrEqualTo(String value) {
            addCriterion("acupoint_text >=", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextLessThan(String value) {
            addCriterion("acupoint_text <", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextLessThanOrEqualTo(String value) {
            addCriterion("acupoint_text <=", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextLike(String value) {
            addCriterion("acupoint_text like", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextNotLike(String value) {
            addCriterion("acupoint_text not like", value, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextIn(List<String> values) {
            addCriterion("acupoint_text in", values, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextNotIn(List<String> values) {
            addCriterion("acupoint_text not in", values, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextBetween(String value1, String value2) {
            addCriterion("acupoint_text between", value1, value2, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointTextNotBetween(String value1, String value2) {
            addCriterion("acupoint_text not between", value1, value2, "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinIsNull() {
            addCriterion("acupoint_pinyin is null");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinIsNotNull() {
            addCriterion("acupoint_pinyin is not null");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinEqualTo(String value) {
            addCriterion("acupoint_pinyin =", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinNotEqualTo(String value) {
            addCriterion("acupoint_pinyin <>", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinGreaterThan(String value) {
            addCriterion("acupoint_pinyin >", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinGreaterThanOrEqualTo(String value) {
            addCriterion("acupoint_pinyin >=", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinLessThan(String value) {
            addCriterion("acupoint_pinyin <", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinLessThanOrEqualTo(String value) {
            addCriterion("acupoint_pinyin <=", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinLike(String value) {
            addCriterion("acupoint_pinyin like", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinNotLike(String value) {
            addCriterion("acupoint_pinyin not like", value, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinIn(List<String> values) {
            addCriterion("acupoint_pinyin in", values, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinNotIn(List<String> values) {
            addCriterion("acupoint_pinyin not in", values, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinBetween(String value1, String value2) {
            addCriterion("acupoint_pinyin between", value1, value2, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinNotBetween(String value1, String value2) {
            addCriterion("acupoint_pinyin not between", value1, value2, "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeIsNull() {
            addCriterion("acupoint_type is null");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeIsNotNull() {
            addCriterion("acupoint_type is not null");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeEqualTo(String value) {
            addCriterion("acupoint_type =", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeNotEqualTo(String value) {
            addCriterion("acupoint_type <>", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeGreaterThan(String value) {
            addCriterion("acupoint_type >", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeGreaterThanOrEqualTo(String value) {
            addCriterion("acupoint_type >=", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeLessThan(String value) {
            addCriterion("acupoint_type <", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeLessThanOrEqualTo(String value) {
            addCriterion("acupoint_type <=", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeLike(String value) {
            addCriterion("acupoint_type like", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeNotLike(String value) {
            addCriterion("acupoint_type not like", value, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeIn(List<String> values) {
            addCriterion("acupoint_type in", values, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeNotIn(List<String> values) {
            addCriterion("acupoint_type not in", values, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeBetween(String value1, String value2) {
            addCriterion("acupoint_type between", value1, value2, "acupointType");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeNotBetween(String value1, String value2) {
            addCriterion("acupoint_type not between", value1, value2, "acupointType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeIsNull() {
            addCriterion("location_type is null");
            return (Criteria) this;
        }

        public Criteria andLocationTypeIsNotNull() {
            addCriterion("location_type is not null");
            return (Criteria) this;
        }

        public Criteria andLocationTypeEqualTo(String value) {
            addCriterion("location_type =", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeNotEqualTo(String value) {
            addCriterion("location_type <>", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeGreaterThan(String value) {
            addCriterion("location_type >", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeGreaterThanOrEqualTo(String value) {
            addCriterion("location_type >=", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeLessThan(String value) {
            addCriterion("location_type <", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeLessThanOrEqualTo(String value) {
            addCriterion("location_type <=", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeLike(String value) {
            addCriterion("location_type like", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeNotLike(String value) {
            addCriterion("location_type not like", value, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeIn(List<String> values) {
            addCriterion("location_type in", values, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeNotIn(List<String> values) {
            addCriterion("location_type not in", values, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeBetween(String value1, String value2) {
            addCriterion("location_type between", value1, value2, "locationType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeNotBetween(String value1, String value2) {
            addCriterion("location_type not between", value1, value2, "locationType");
            return (Criteria) this;
        }

        public Criteria andSideTypeIsNull() {
            addCriterion("side_type is null");
            return (Criteria) this;
        }

        public Criteria andSideTypeIsNotNull() {
            addCriterion("side_type is not null");
            return (Criteria) this;
        }

        public Criteria andSideTypeEqualTo(String value) {
            addCriterion("side_type =", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeNotEqualTo(String value) {
            addCriterion("side_type <>", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeGreaterThan(String value) {
            addCriterion("side_type >", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeGreaterThanOrEqualTo(String value) {
            addCriterion("side_type >=", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeLessThan(String value) {
            addCriterion("side_type <", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeLessThanOrEqualTo(String value) {
            addCriterion("side_type <=", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeLike(String value) {
            addCriterion("side_type like", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeNotLike(String value) {
            addCriterion("side_type not like", value, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeIn(List<String> values) {
            addCriterion("side_type in", values, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeNotIn(List<String> values) {
            addCriterion("side_type not in", values, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeBetween(String value1, String value2) {
            addCriterion("side_type between", value1, value2, "sideType");
            return (Criteria) this;
        }

        public Criteria andSideTypeNotBetween(String value1, String value2) {
            addCriterion("side_type not between", value1, value2, "sideType");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNull() {
            addCriterion("parent_code is null");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNotNull() {
            addCriterion("parent_code is not null");
            return (Criteria) this;
        }

        public Criteria andParentCodeEqualTo(String value) {
            addCriterion("parent_code =", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotEqualTo(String value) {
            addCriterion("parent_code <>", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThan(String value) {
            addCriterion("parent_code >", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThanOrEqualTo(String value) {
            addCriterion("parent_code >=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThan(String value) {
            addCriterion("parent_code <", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThanOrEqualTo(String value) {
            addCriterion("parent_code <=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLike(String value) {
            addCriterion("parent_code like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotLike(String value) {
            addCriterion("parent_code not like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeIn(List<String> values) {
            addCriterion("parent_code in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotIn(List<String> values) {
            addCriterion("parent_code not in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeBetween(String value1, String value2) {
            addCriterion("parent_code between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotBetween(String value1, String value2) {
            addCriterion("parent_code not between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("sort_num is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("sort_num is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(Integer value) {
            addCriterion("sort_num =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(Integer value) {
            addCriterion("sort_num <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(Integer value) {
            addCriterion("sort_num >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort_num >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(Integer value) {
            addCriterion("sort_num <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(Integer value) {
            addCriterion("sort_num <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<Integer> values) {
            addCriterion("sort_num in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<Integer> values) {
            addCriterion("sort_num not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(Integer value1, Integer value2) {
            addCriterion("sort_num between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sort_num not between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNull() {
            addCriterion("is_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNotNull() {
            addCriterion("is_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledEqualTo(String value) {
            addCriterion("is_enabled =", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotEqualTo(String value) {
            addCriterion("is_enabled <>", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThan(String value) {
            addCriterion("is_enabled >", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThanOrEqualTo(String value) {
            addCriterion("is_enabled >=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThan(String value) {
            addCriterion("is_enabled <", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThanOrEqualTo(String value) {
            addCriterion("is_enabled <=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLike(String value) {
            addCriterion("is_enabled like", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotLike(String value) {
            addCriterion("is_enabled not like", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIn(List<String> values) {
            addCriterion("is_enabled in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotIn(List<String> values) {
            addCriterion("is_enabled not in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledBetween(String value1, String value2) {
            addCriterion("is_enabled between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotBetween(String value1, String value2) {
            addCriterion("is_enabled not between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Long value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Long value) {
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Long value) {
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Long value) {
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Long> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Long> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Long value1, Long value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andAcupointCodeLikeInsensitive(String value) {
            addCriterion("upper(acupoint_code) like", value.toUpperCase(), "acupointCode");
            return (Criteria) this;
        }

        public Criteria andAcupointTextLikeInsensitive(String value) {
            addCriterion("upper(acupoint_text) like", value.toUpperCase(), "acupointText");
            return (Criteria) this;
        }

        public Criteria andAcupointPinyinLikeInsensitive(String value) {
            addCriterion("upper(acupoint_pinyin) like", value.toUpperCase(), "acupointPinyin");
            return (Criteria) this;
        }

        public Criteria andAcupointTypeLikeInsensitive(String value) {
            addCriterion("upper(acupoint_type) like", value.toUpperCase(), "acupointType");
            return (Criteria) this;
        }

        public Criteria andLocationTypeLikeInsensitive(String value) {
            addCriterion("upper(location_type) like", value.toUpperCase(), "locationType");
            return (Criteria) this;
        }

        public Criteria andSideTypeLikeInsensitive(String value) {
            addCriterion("upper(side_type) like", value.toUpperCase(), "sideType");
            return (Criteria) this;
        }

        public Criteria andParentCodeLikeInsensitive(String value) {
            addCriterion("upper(parent_code) like", value.toUpperCase(), "parentCode");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLikeInsensitive(String value) {
            addCriterion("upper(is_enabled) like", value.toUpperCase(), "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLikeInsensitive(String value) {
            addCriterion("upper(is_delete) like", value.toUpperCase(), "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateByLikeInsensitive(String value) {
            addCriterion("upper(create_by) like", value.toUpperCase(), "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLikeInsensitive(String value) {
            addCriterion("upper(update_by) like", value.toUpperCase(), "updateBy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}